﻿using Newtonsoft.Json;
using System.Text.Json.Serialization;
namespace ApisixSDK.Admin.model.plugin
{
    public class LimitCount : Plugin
    {
        [JsonPropertyName("count")]
        [JsonProperty(propertyName: "count")]
        public int? Count { get; set; }

        [JsonPropertyName("time_window")]
        [JsonProperty(propertyName: "time_window")]
        public int? TimeWindow { get; set; }

        [JsonPropertyName("rejected_code")]
        [JsonProperty(propertyName: "rejected_code")]
        public int? RejectedCode { get; set; }

        [JsonPropertyName("key")]
        [JsonProperty(propertyName: "key")]
        public string Key { get; set; }
    }
}